﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Face8280WebSocketServer.Command.Models
{
    public class ElevatorPort
    {
        public ElevatorPortDetail P1 { get; set; }
        public ElevatorPortDetail P2 { get; set; }
        public ElevatorPortDetail P3 { get; set; }
        public ElevatorPortDetail P4 { get; set; }
        public ElevatorPortDetail P5 { get; set; }
        public ElevatorPortDetail P6 { get; set; }
        public ElevatorPortDetail P7 { get; set; }
        public ElevatorPortDetail P8 { get; set; }
        public ElevatorPortDetail P9 { get; set; }
        public ElevatorPortDetail P10 { get; set; }
        public ElevatorPortDetail P11 { get; set; }
        public ElevatorPortDetail P12 { get; set; }
        public ElevatorPortDetail P13 { get; set; }
        public ElevatorPortDetail P14 { get; set; }
        public ElevatorPortDetail P15 { get; set; }
        public ElevatorPortDetail P16 { get; set; }
        public ElevatorPortDetail P17 { get; set; }
        public ElevatorPortDetail P18 { get; set; }
        public ElevatorPortDetail P19 { get; set; }
        public ElevatorPortDetail P20 { get; set; }
        public ElevatorPortDetail P21 { get; set; }
        public ElevatorPortDetail P22 { get; set; }
        public ElevatorPortDetail P23 { get; set; }
        public ElevatorPortDetail P24 { get; set; }
        public ElevatorPortDetail P25 { get; set; }
        public ElevatorPortDetail P26 { get; set; }
        public ElevatorPortDetail P27 { get; set; }
        public ElevatorPortDetail P28 { get; set; }
        public ElevatorPortDetail P29 { get; set; }
        public ElevatorPortDetail P30 { get; set; }
        public ElevatorPortDetail P31 { get; set; }
        public ElevatorPortDetail P32 { get; set; }
        public ElevatorPortDetail P33 { get; set; }
        public ElevatorPortDetail P34 { get; set; }
        public ElevatorPortDetail P35 { get; set; }
        public ElevatorPortDetail P36 { get; set; }
        public ElevatorPortDetail P37 { get; set; }
        public ElevatorPortDetail P38 { get; set; }
        public ElevatorPortDetail P39 { get; set; }
        public ElevatorPortDetail P40 { get; set; }
        public ElevatorPortDetail P41 { get; set; }
        public ElevatorPortDetail P42 { get; set; }
        public ElevatorPortDetail P43 { get; set; }
        public ElevatorPortDetail P44 { get; set; }
        public ElevatorPortDetail P45 { get; set; }
        public ElevatorPortDetail P46 { get; set; }
        public ElevatorPortDetail P47 { get; set; }
        public ElevatorPortDetail P48 { get; set; }
        public ElevatorPortDetail P49 { get; set; }
        public ElevatorPortDetail P50 { get; set; }
        public ElevatorPortDetail P51 { get; set; }
        public ElevatorPortDetail P52 { get; set; }
        public ElevatorPortDetail P53 { get; set; }
        public ElevatorPortDetail P54 { get; set; }
        public ElevatorPortDetail P55 { get; set; }
        public ElevatorPortDetail P56 { get; set; }
        public ElevatorPortDetail P57 { get; set; }
        public ElevatorPortDetail P58 { get; set; }
        public ElevatorPortDetail P59 { get; set; }
        public ElevatorPortDetail P60 { get; set; }
        public ElevatorPortDetail P61 { get; set; }
        public ElevatorPortDetail P62 { get; set; }
        public ElevatorPortDetail P63 { get; set; }
        public ElevatorPortDetail P64 { get; set; }
    }

    public class ElevatorPortDetail
    {
        /// <summary>
        /// 电梯继电器
        /// </summary>
        /// <value>(COM&NO常闭、COM&NC常闭)</value>
        public int Type { get; set; }
        /// <summary>
        /// 开锁时输出时长
        /// </summary>
        /// <value>最大65535秒。0表示0.5秒</value>
        public int ReleaseTime { get; set; }
        /// <summary>
        /// 定时常开参数
        /// </summary>
        public TimingOpen TimingOpen { get; set; }
    }
}
